package com.kgc.test;

import com.kgc.app.pojo.AppInfo;
import com.kgc.app.pojo.DevUser;
import com.kgc.app.service.AppInfoService;
import com.kgc.app.service.DevUserService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.util.List;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:applicationContext.xml")
public class test {

    @Autowired
    private AppInfoService appInfoService;
    @Autowired
    private DevUserService devUserService;



    @Test
    public void test02(){
        DevUser devUser = devUserService.loginDevUser("test001", "123456");
        System.out.println(devUser);
    }
}
